let defaultFirstNavSelectedKey = ''
let defaultOpenClickSelectedKey = ['sub1']
//localStorage有些用户可能关闭该功能，所以在用的时候要捕捉一下。
try {
  if (localStorage.firstNavSelectedKey)
    defaultFirstNavSelectedKey = localStorage.firstNavSelectedKey
  if (localStorage.openClickSelectedKey)
    defaultOpenClickSelectedKey = localStorage.openClickSelectedKey.split(',')
} catch (e) {
}

export default {
  /*通用设置，以下数据为全局变量*/
  firstNavSelectedKey: defaultFirstNavSelectedKey,    //一级导航选中项
  openClickSelectedKey: defaultOpenClickSelectedKey,
  lastFirstSelected: '',      //一级导航上个页面选中项，用于浏览器和系统后退页面操作
  loading: false
}
